<template>
<div>
    <div v-for="radio in menu">
        <div class="g-radio radius">
                <input type="radio" :id="radio.value" :name="name" :value="radio.value" v-model="picked">
                <label :for="radio.value">{{radio.value}}</label>
                <br>
        </div>
    </div>
</div>
</template>
<style>

.radius input,.radius input::before,radius:checked::before{
    border-radius: 9999px;
}

.g-radio{
    margin-bottom: 5px;
    margin-top: 5px;
}
.g-radio label{
    line-height: 20px;
    float: left;
    margin-left: 10px;
}
.full input{
    display: block;
    padding: 2px;
    border: 1px solid #fe9b0c;
    width: 20px;
    height: 20px;

    -webkit-appearance: none;
    -moz-appearance: none;
    float: left;
}
.check input{
    display: block;
    border: 1px solid #fe9b0c;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    float: left;
}
.check input::before,.full input::before{
    content: '';
    padding: 8px;
    float: left; 
    background: white;
    line-height: 20px;
}
.full input:checked::before{
    content:'';
    padding: 7px;
    float: left; 
    background-color: #fe9b0c;
    background-size: 14px 14px;
    line-height: 20px;    
}
.check input:checked::before{
    content:'';
    padding: 9px;
    float: left; 
    background-image: url();
    background-color: #fe9b0c;
    background-size: 18px 18px;
    line-height: 20px;    
}
</style>
<script>
export default {
  props:['name','menu'],
  data:function(){
      return{
         picked: ''
      }
  }
}
</script>

